import { IsString, IsOptional, MaxLength } from 'class-validator';

/**
 * 更新用户 DTO
 */
export class UpdateUserDto {
  @IsString()
  @IsOptional()
  @MaxLength(100)
  nickname?: string;

  @IsString()
  @IsOptional()
  avatar?: string;
}





